package com.lianniu.mgr.teaOrder.service;

import java.util.Map;

import com.lianniu.mgr.base.BaseResult;
import com.lianniu.mgr.pagination.PaginationInfo;
import com.lianniu.mgr.teaOrder.model.TeaOrder;



public interface ITeaOrderService {

	BaseResult getOrderInfoBefore(String userId, String productId);

	BaseResult saveOrder(TeaOrder order);

	BaseResult getOrderInfo(String orderId);

	BaseResult cancleOrder(String orderId, String status);
	/**
	 * 根据用户id去查询订单信息
	 * @param orderId
	 * @return
	 */
	BaseResult getOrderListByUserId(Map param, TeaOrder order, PaginationInfo paginationInfo);
	/**
	 * 管理人员发货使用
	 * @param teaOrder
	 * @return
	 */
	BaseResult sendOrder(TeaOrder teaOrder);


}
